package com.rc.saas.mini.mapper.tenant;


import com.rc.saas.mini.common.base.BaseMapper;
import com.rc.saas.mini.model.tenant.TenantNotice;
import com.rc.saas.mini.model.tenant.TenantNoticeExample;
import com.rc.saas.mini.vo.tenant.TenantNoticeVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TenantNoticeMapper extends BaseMapper<Long, TenantNotice, TenantNoticeExample> {
    List<TenantNoticeVo> listByConditionWithMemberId(TenantNoticeVo tenantNoticeVo);

    List<TenantNotice> listByMemberIdAndDate(@Param("memberId") Long memberId, @Param("date")Date date);
}
